package com.tangly.codeing.model.dto;

import com.tangly.codeing.model.SysUser;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 用户数据传输对象（dto）
 *
 * @author tangbing
 * @date 2019/5/6 18:20
 */
public class SysUserDto extends SysUser {

    @NotNull(message = "用户角色不能为空")
    private List<Long> roleList;

    public List<Long> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Long> roleList) {
        this.roleList = roleList;
    }
}
